<?php
/********************************************
* header.php
*
* This file is included at the top of every page to thematically tie them together and provide navigation
* 
********************************************/
global $BASE_PATH;
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Web Page Design by James Koster - http://www.jameskoster.co.uk -->

<head>
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
	<meta name="description" content="The Blue Alliance is an archive of FIRST Robotics Competition match videos.">
	<meta name="keywords" content="the blue alliance, thebluealliance, tba, FIRST Robotics, first, firstrobotics, robotics, competition, team, regional, match, video">
	<title>The Blue Alliance Open Source - <?php echo $title ?></title>	
	<link rel="stylesheet" type="text/css" href="<? echo $BASE_PATH ?>css/tbatv.css" />
	<link rel="shortcut icon" href="<? echo $BASE_PATH ?>favicon.ico" >
	<? //redirect out of iframe
	if ($linkedfromiframe == 1) {
		?><script type="text/javascript">
			function TimeOutRedirect()
				{
					try
					{
						if (self.parent.frames.length != 0)
						self.parent.location=document.location;
					}
					catch (Exception) {}
				}
			TimeOutRedirect();
			</script><? 
		} ?>
	<? //include lightbox files ?>
	<script type="text/javascript" src="<? echo $BASE_PATH ?>scripts/prototype.js"></script>
	<script type="text/javascript" src="<? echo $BASE_PATH ?>scripts/scriptaculous.js?load=effects"></script>
	<script type="text/javascript" src="<? echo $BASE_PATH ?>scripts/lightbox.js"></script>
	<link rel="stylesheet" href="<? echo $BASE_PATH ?>css/lightbox.css" type="text/css" media="screen" />
</head>
<body>
<div id="pages">    
		<h1><a href="<?php echo $BASE_PATH ?>">The Blue Alliance - Open Source</a></h1>
		<ul>
		  <li class="page_item"><a href="http://www.thebluealliance.net/blog/" title="Video Tutorials">Video Tutorials</a></li>
		  <li class="page_item"><a href="<?php echo $BASE_PATH ?>" title="Match Archives">Match Archives</a></li>
		</ul>
	</div>
<div id="wrap">
		<a href="<?php echo $BASE_PATH ?>"><div id="logo"></div></a>
	<div id="tagline">The Open Source version of The Blue Alliance.</div>
<div id="content">
<?
?>